﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;
using System.Text;
using CGOnline.Server.UserLayer;

[ServiceContract(Namespace = "")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class Service
{
    [OperationContract]
    public UserBase DoWork()
    {
        var com = new PlatformComponent();
        var user=com.ConnectUser(null);
        return user;
    }

    [DataContract]
    public class test
    {
    }

    // Add more operations here and mark them with [OperationContract]
}
